package com.yyds.blackmagic.mapper;

import com.yyds.blackmagic.entity.AdminRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminRoleMapper {
     int updateStatus (AdminRole requestRole);

    List<AdminRole> findAll();

    int add (AdminRole requestRole);

    int update (AdminRole requestRole);

    int deleteAllMenuByRid (int rid);
}
